.log-reg-form {
  margin: 70px auto 0;
  display: flex;
  flex-direction: column;
  min-width: 396px;
  height: 527px;
}

.log-reg-form__logo {
  height: 38px;
  transition: opacity 0.3s linear;
}

.log-reg-form__logo:hover {
  opacity: 0.7;
}

.log-reg-form__title {
  margin: 40px 0;
  padding: 0;
  text-align: left;
  color: #000;
  font-family: "Inter", Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.log-reg-form__button {
  margin: 15px 0 0;
  padding: 0;
  width: 100%;
  max-width: 396px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 3px;
  min-height: 45px;
  color: #fff;
  text-align: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  transition: opacity 0.2s ease-in;
  cursor: pointer;
}

.log-reg-form__server-error {
  margin: auto auto 0;
  color: rgb(255, 0, 76);
  font-family: Inter;
  font-size: 11px;
  font-weight: 400;
  line-height: 13px;
  letter-spacing: 0px;
  text-align: center;
}

.log-reg-form__button:disabled {
  background-color: #f8f8f8;
  color: #c2c2c2;
  cursor: default;
  opacity: 1;
}

.log-reg-form__button:disabled + .log-reg-form__button:hover {
  background-color: #f8f8f8;
  color: #c2c2c2;
  cursor: default;
  opacity: 1;
}

.log-reg-form__button:hover {
  opacity: 0.8;
}

@media screen and (max-width: 876px) {
  .log-reg-form {
    margin: 232px auto 0;
  }
}

@media screen and (max-width: 500px) {
  .log-reg-form {
    margin: 54px auto 0;
    padding: 0 30px;
    min-width: 260px;
    min-height: 667px;
  }

  .log-reg-form__logo {
    margin: 0 auto;
  }
  .log-reg-form__title {
    margin: 52px auto 80px;
  }
  .log-reg-form__button {
    font-size: 12px;
    font-weight: 500;
    line-height: 15px;
    letter-spacing: 0%;
  }
}
